package com.example.school.mapper;

import com.example.school.entity.Student;
import com.example.school.entity.XuanKe;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface XuanKeMapper {

    public XuanKe getByUsersIdCoursesId(int studentId, int courseId,String terms);

    public int insert(XuanKe xuanKe);

    public List<XuanKe> getByUsersId(Student studentId);

    List<XuanKe> getStudentCourses(@Param("studentId") int studentId);


}
